package com.iceberg.model.jqgrid;

import java.util.HashMap;
import java.util.List;

public class JqGridTable {
  String operation = "";
  String prmNames="{id: 'CUSTOMER_ID',oper:'jqGridTable.operation',page:'jqGridTable.currentPageNumber',rows:'jqGridTable.recordSizePerPage',total:'jqGridTable.totalPageSize',records:'jqGridTable.totalRecordSize'}";
  String colNames = "['customer_id','address','customer_name,'created_date']";
  String colModel = "[ {name : 'customer_id',index : 'customer_id',width : 55}, " +
      "        {name : 'address',index : 'address',width : 90,editable:true}, " +
      "        {name : 'customer_name', index : 'customer_name',width : 100}, " +
      "        {name : 'created_date',index : 'created_date',width : 180,align : 'right'} ]";

  
  int currentPageNumber = 1;
  int recordSizePerPage=3;

  int totalPageSize = 0;
  int totalRecordSize = 0;
  
  String orderByColumnName;
  String orderByDirection;
  List<HashMap<String, String>> rawTableData = null;
  int startIndex = -1;
  int endIndex = -1;
  
  
  
  public int getStartIndex() {
    return startIndex;
  }

  public void setStartIndex(int startIndex) {
    this.startIndex = startIndex;
  }

  public int getEndIndex() {
    return endIndex;
  }

  public void setEndIndex(int endIndex) {
    this.endIndex = endIndex;
  }

  public List<HashMap<String, String>> getRawTableData() {
    return rawTableData;
  }

  public void setRawTableData(List<HashMap<String, String>> rawTableData) {
    this.rawTableData = rawTableData;
  }

  public int getCurrentPageNumber() {
    return currentPageNumber;
  }

  public void setCurrentPageNumber(int currentPageNumber) {
    this.currentPageNumber = currentPageNumber;
  }

  public int getRecordSizePerPage() {
    return recordSizePerPage;
  }

  public void setRecordSizePerPage(int recordSizePerPage) {
    this.recordSizePerPage = recordSizePerPage;
  }

  public int getTotalPageSize() {
    return totalPageSize;
  }

  public void setTotalPageSize(int totalPageSize) {
    this.totalPageSize = totalPageSize;
  }

  public int getTotalRecordSize() {
    return totalRecordSize;
  }

  public void setTotalRecordSize(int totalRecordSize) {
    this.totalRecordSize = totalRecordSize;
  }

  public String getOrderByColumnName() {
    return orderByColumnName;
  }

  public void setOrderByColumnName(String orderByColumnName) {
    this.orderByColumnName = orderByColumnName;
  }

  public String getOrderByDirection() {
    return orderByDirection;
  }

  public void setOrderByDirection(String orderByDirection) {
    this.orderByDirection = orderByDirection;
  }

  public String getColNames() {
    return colNames;
  }

  public void setColNames(String colNames) {
    this.colNames = colNames;
  }

  public String getColModel() {
    return colModel;
  }

  public void setColModel(String colModel) {
    this.colModel = colModel;
  }

  public String getPrmNames() {
    return prmNames;
  }

  public void setPrmNames(String prmNames) {
    this.prmNames = prmNames;
  }

  public String getOperation() {
    return operation;
  }

  public void setOperation(String operation) {
    this.operation = operation;
  }

 
  
}
